body {
  overflow-y: hidden;
  color: #666666;
}

.container {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.header-container {
  width: 1024px;
  height: 96px;
  margin-left: auto;
  margin-right: auto;
  //border: 1px solid #cccccc;
  padding-top: 23px;
  box-sizing: border-box;
  .logo {
    width: 175px;
    height: 49px;
    text-indent: -9999px;
    background: url("../images/logo/logo.png") no-repeat;
    float: left;
  }
  .title {
    padding-left: 22px;
    font-size: 24px;
    line-height: 39px;
    float: left;
  }
  .header-r {
    //border: 1px solid #cccccc;
    float: right;
    margin-top: 5px;
    .r-item {
      float: left;
      margin-right: 10px;
      color: #333333;
      &:hover {
        color: #dc1236;
      }
      .icon {
        width: 32px;
        height: 32px;
        background: url("../images/icon/wechat.png") no-repeat;
        float: left;
        margin-right: 10px;
      }
      span {
        line-height: 32px;
      }
      &:nth-of-type(2) {
        .icon {
          background: url("../images/icon/new.jpg") no-repeat;
        }
      }
      &:nth-of-type(3) {
        .icon {
          background: url("../images/icon/tea_01.png") no-repeat;
        }
      }
    }
  }
}

.nav {
  width: 100%;
  height: 40px;
  background: #cf3340;
  font-size: 16px;
  color: #FFFFFF;
  position: absolute;
  padding: 8px 0;
  box-sizing: border-box;
  .nav-item {
    float: left;
    height: 40px;
    margin-right: 12px;
    .item-title {
      cursor: pointer;
      position: absolute;
      top: 0;
      border-right: 1px solid #a22727;
      padding-right: 16px;
      box-sizing: border-box;
      margin-top: 10px;
      span {
        float: left;
      }
      .icon {
        float: left;
        width: 0;
        height: 0;
        border: 8px solid transparent;
        border-top: 10px solid white;
        margin-top: 4px;
        margin-left: 12px;
      }
    }
    .item-content {
      display: none;
      //border: 1px solid #000;
      background: #FFFFFF;
      position: absolute;
      top: 36px;
      color: #000;
      font-size: 16px;
      padding-top: 22px;
      padding-left: 25px;
      border-radius: 2px;
      box-sizing: border-box;
      margin-left: -6px;
      /* x偏移量 | y偏移量 | 阴影模糊半径 | 阴影扩散半径 | 阴影颜色 */
      box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
      .text {
        color: #444444;
        margin-bottom: 22px;
        line-height: 20px;
        .icon {
          width: 6px;
          height: 6px;
          background: url("../images/icon/square.png") no-repeat;
          float: left;
          margin-top: 8px;
          margin-right: 8px;
        }
        &.active {
          color: #cf3340;
          .icon {
            height: 12px;
            background: url("../images/icon/triangle_red.png") no-repeat;
            margin-top: 4px;
          }
        }
      }
    }
    &:last-child {
      margin-right: 0;
      .item-title {
        border-right: 0;
      }
    }
    &.active {
      .item-content {
        display: block;
      }
    }
  }
}


.constructor {
  margin-top: 40px;
  padding-top: 32px;
  box-sizing: border-box;
}

/*二级建造师工程法规哪个老师好*/
.constructor-h2 {
  font-size: 20px;
  line-height: 26px;
  //margin-bottom: 23px;
  .icon {
    width: 27px;
    height: 27px;
    margin-right: 10px;
    float: left;
    &.tea {
      background: url("../images/icon/avatar_01.png") no-repeat;
    }
    &.kecheng {
      background: url("../images/icon/test_play.png") no-repeat;
    }
  }
  .text {
    font-weight: bold;
    color: #444444;
    strong {
      color: #cf3340;
      font-weight: bold;
    }
  }
}
.teacher {
  border: 1px solid #e6e6e6;
  padding: 18px 16px;
  box-sizing: border-box;
  margin-top: 32px;
  margin-bottom: 27px;
  .audition {
    background: #e22144;
    border-radius: 18px;
    float: right;
    margin-top: -36px;
    margin-right: 26px;
    padding: 0 12px;
    box-sizing: border-box;
    .icon {
      width: 21px;
      height: 17px;
      background: url("../images/icon/audition.png") no-repeat;
      float: left;
      margin-top: 9px;
      margin-right: 5px;
    }
    span {
      font-size: 18px;
      font-weight: bold;
      line-height: 36px;
      color: #FFFFFF;
    }
  }
  .vs {
    height: 55px;
    margin-top: -52px;
    background: url("../images/icon/vs.png") no-repeat center;
  }
  .tea-logo {
    width: 170px;
    height: 200px;
    background: url("../images/bg/wangsj_01.png") no-repeat;
    margin-right: 25px;
    float: left;
  }
  .tea-content {
    float: left;
    width: 78%;
    .cont-title {
      .username {
        border-left: 4px solid #dc1236;
        padding-left: 10px;
        box-sizing: border-box;
        font-weight: bold;
        font-size: 20px;
        line-height: 26px;
        color: #444444;
      }
    }
    .cont-item {
      margin-top: 18px;
      line-height: 26px;
      float: left;
      width: 100%;
      .item-key {
        color: #dc1236;
        background: #ffdbe1;
        padding: 0 10px;
        box-sizing: border-box;
        float: left;
        border-radius: 5px;
        margin-right: 12px;
      }
      .item-val {
        float: left;
        //border: 1px solid #000;
        width: 86%;
        a{
          display: inline;
          color: #666666;
        }
      }
    }
  }
  &:nth-of-type(2n) {
    .audition {
      background: #7ec252;
    }
  }
}

/*课程*/
.curricula {
  border: 1px solid #e6e6e6;
  margin-top: 26px;
  .curricula-row {
    .curricula-title {
      width: 100%;
      font-size: 18px;
      color: #FFFFFF;
      font-weight: bold;
      margin-top: 20px;
      margin-bottom: 18px;
      clear: both;
      span {
        padding: 0 15px 0 20px;
        box-sizing: border-box;
        background-image: linear-gradient(to right, #f24a69, #dc1337);
        border-top-right-radius: 18px;
        border-bottom-right-radius: 18px;
        line-height: 36px;
        display: inline-block;
      }
    }
    .curricula-item {
      width: 230px;
      float: left;
      margin-left: 14px;
      margin-bottom: 15px;
      .item-bg {
        width: 230px;
        height: 140px;
        background: url("../images/bg/wangsj_02.png") no-repeat;
      }
      .item-detail {
        font-size: 16px;
        color: #444444;
        text-align: center;
        line-height: 60px;
      }
      &:hover {
        box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
      }
    }
    &:nth-of-type(2n) {
      .curricula-item {
        .item-bg {
          background: url("../images/bg/wangsj_03.png") no-repeat;
        }
      }
      .curricula-title {
        span {
          background: #7ec252;
        }
      }
    }
  }
}

/*评价*/
.evaluate {
  .evaluate-title {
    width: 100%;
    font-size: 18px;
    color: #FFFFFF;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 18px;
    clear: both;
    span {
      padding: 0 15px 0 20px;
      box-sizing: border-box;

      border-top-right-radius: 18px;
      border-bottom-right-radius: 18px;
      line-height: 36px;
      display: inline-block;
    }
    &.red{
      span{
        background-image: linear-gradient(to right, #f24a69, #dc1337);
      }
    }
    &.green{
      span{
        background: #7ec252;
      }
    }
  }
  .evaluate-top {
    .top-item {
      width: 33.33%;
      //height: 187px;
      border: 1px solid #e6e6e6;
      padding: 23px 18px;
      box-sizing: border-box;
      float: left;
      .avatar {
        width: 47px;
        height: 47px;
        background: url("../images/icon/avatar_02.png") no-repeat;
        float: left;
        margin-right: 15px;
      }
      .text {
        font-size: 14px;
        float: left;
        width: 78%;
        line-height: 24px;
        .username {
          color: #dd1237;
        }
      }
      &:nth-of-type(2n) {
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
      }
      &:hover {
        border: 1px solid #e2727f;
      }
      &:nth-of-type(2) {
        .avatar {
          background: url("../images/icon/avatar_03.png") no-repeat;
        }
      }
      &:nth-of-type(3) {
        .avatar {
          background: url("../images/icon/avatar_04.png") no-repeat;
        }
      }
    }
  }
  .evaluate-bottom {
    padding: 18px 20px;
    box-sizing: border-box;
    border: 1px solid #e6e6e6;
    border-top: 1px solid transparent;
    .bottom-item {
      padding-top: 10px;
      padding-bottom: 12px;
      border-bottom: 1px dashed #999999;
      box-sizing: border-box;
      .avatar {
        width: 47px;
        height: 47px;
        background: url("../images/icon/avatar_02.png") no-repeat;
        float: left;
        margin-right: 15px;
      }
      .text {
        font-size: 14px;
        float: left;
        width: 92%;
        line-height: 24px;
      }
      &:nth-of-type(2) {
        .avatar {
          background: url("../images/icon/avatar_06.png") no-repeat;
        }
      }
      &:nth-of-type(3) {
        .avatar {
          background: url("../images/icon/avatar_07.png") no-repeat;
        }
      }
      &:nth-of-type(4) {
        .avatar {
          background: url("../images/icon/avatar_08.png") no-repeat;
        }
      }

      &:last-child {
        border-bottom: 1px solid transparent;
      }
    }
  }
  &:nth-of-type(2n) {
    .evaluate-title {
      span {
        //background: #7ec252;
      }
    }
  }
}

.banner{
  width: 1000px;
  height: 96px;
  margin-left: auto;
  margin-right: auto;
  background: url("../images/bg/constructor.png") no-repeat;
  margin-top: 22px;
}

/*最新资讯*/
.msg{
  margin-top: 36px;
  .msg-item{
    width: 318px;
    //height: 300px;
    border: 1px solid #e6e6e6;
    box-sizing: border-box;
    float: left;
    margin-right: 22px;
    .msg-title{
      padding-top: 20px;
      box-sizing: border-box;
      margin-bottom: 16px;
      p{
        font-size: 20px;
        line-height: 20px;
        color: #444444;
        font-weight: bold;
        border-left: 4px solid #dc1236;
        padding-left: 12px;
        box-sizing: border-box;
      }
    }
    &:last-child{
      margin-right: 0;
    }
    .item-row{
      font-size: 14px;
      padding: 0 14px;
      box-sizing: border-box;
      line-height: 40px;
      //border: 1px solid #000;
      .icon{
        width: 4px;
        height: 4px;
        background: url("../images/icon/square_nor.png") no-repeat;
        float: left;
        margin-top: 19px;
        margin-right: 10px;
      }
      .text{
        width: 65%;
        float: left;
        color: #444444;
        //border: 1px solid #000;
      }
      .time{
        float: right;
        color: #999999;
        margin-left: 6px;
      }
      &:last-child{
        margin-bottom: 10px;
      }
      &:hover{
        background: #e7e7e7;
        .icon{
          background: url("../images/icon/square_sel.png") no-repeat;
          margin-top: 18px;
        }
        .text{
          color: #dc1236;
        }
        .time{
          color: #dc1236;
        }
      }
    }
  }
}

/*二级建造师法规相关科目哪个老师好*/
.subject{
  margin-top: 28px;
  .constructor-h2 {
    font-size: 20px;
    line-height: 26px;
    //margin-bottom: 23px;
    .icon {
      width: 27px;
      height: 27px;
      margin-right: 10px;
      float: left;
      &.tea {
        background: url("../images/icon/avatar_01.png") no-repeat;
      }
      &.kecheng {
        background: url("../images/icon/test_play.png") no-repeat;
      }
    }
    .text {
      font-weight: bold;
      color: #444444;
      strong {
        color: #cf3340;
        font-weight: bold;
      }
    }
  }
  .subject-content{
    margin-top: 30px;
    margin-left: -7px;
    margin-right: -7px;
    .subject-item{
      font-size: 14px;
      padding: 0 18px;
      border: 1px solid #e6e6e6;
      box-sizing: border-box;
      line-height: 44px;
      float: left;
      //margin-right: 14px;
      margin-left: 7px;
      margin-right: 7px;
      margin-bottom: 14px;
      color: #666666;
      &:nth-of-type(4n + 4){
        //margin-right: 0;
      }
      &:hover{
        background: #dc1236;
        border: 1px solid #dc1236;
        color: #FFFFFF;
      }
    }
  }
}

.footer{
  width: 100%;
  height: 38px;
  background: #424242;
  .footer-container{
    width: 1260px;
    height: 38px;
    //border: 1px solid red;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    .company{
      float: left;
      line-height: 38px;
      color: #9f9e9e;
    }
    .footer-nav{
      float: right;
      padding-top: 12px;
      box-sizing: border-box;
      .nav-item{
        float: left;
        color: #9f9e9e;
        border-right: 1px solid #666666;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
        &:last-child{
          border-right: 0;
        }
        &:hover{
          color: #FFFFFF;
        }
      }
    }
  }
}